createOrNull

fun createOrNull(player: KitePlayer, layer: AVSampleBufferDisplayLayer, skipInterval: Duration = 15.seconds): KitePlayerPictureInPicture?

Builds a controller over layer, or null when this device cannot show the window.

Parameters

skipInterval

how far the window's two skip buttons move when the system sends no interval of its own. Fifteen seconds is what the system player uses.